package Lambda.Test01;

import com.sun.corba.se.impl.orbutil.CorbaResourceUtil;

public class EatableDemo{
    public static void main(String[] args) {
        useEatable(()->{
            System.out.println("lanmbda表达式！");
        });
    }

    public static void useEatable(Eatable e){
        e.eat();
    }

}
